package com.ly.core.jbpm.pv;

/**
 * 参数字段
 * @author csx
 *
 */
public class ParamField {
	
	public final static String FIELD_TYPE_DATE="date";
	public final static String FIELD_TYPE_INT="int";
	public final static String FIELD_TYPE_LONG="long";
	public final static String FIELD_TYPE_DECIMAL="decimal";
	public final static String FIELD_TYPE_VARCHAR="varchar";
	public final static String FIELD_TYPE_BOOL="bool";

	private String name;
	private String type;
	private String label;
	private Integer length;
	private Short isShowed;
	//暂存参数的值
	private String value;

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public ParamField(String name, String type, String label, Integer length, Short isShowed)
	  {
	    this.name = name;
	    this.type = type;
	    this.label = label;
	    this.length = length;
	    this.isShowed = isShowed;
	  }
	public ParamField() {
		
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public Integer getLength() {
		return length;
	}
	public void setLength(Integer length) {
		this.length = length;
	}

	public Short getIsShowed() {
		return isShowed;
	}

	public void setIsShowed(Short isShowed) {
		this.isShowed = isShowed;
	}
	
	
}
